#include <stdio.h>
int main() {
	int n;
	scanf("%d", &n);
	int s[1000000];
	int max = 1, c = 1;
	scanf("%d", &s[0]);
	for (int i = 1; i < n; i++) {
		scanf("%d", &s[i]);
		if (s[i] > s[i - 1]) {
			c++;
		}
		else {
			if (c > max) {
				max = c;
			}
			c = 1;
		}
	}
	printf("%d", max);
	return 0;
	
}
